My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:flexui="com.sibirjak.asperform.ui.*"
creationComplete="startTests()"
>

<mx:Script>
<![CDATA[
private function startTests() : void {


flexUI.setMethodKey("add", "+ ");
flexUI.setMethodKey("addFirst", "+A ");
flexUI.setMethodKey("addLast", "Z+ ");
flexUI.setMethodKey("iterate", "for");

flexUI.setMethodKey("has", "? ");
flexUI.setMethodKey("first", "->A");

flexUI.setMethodKey("remove", "- ");
flexUI.setMethodKey("removeFirst", "-A ");
flexUI.setMethodKey("removeLast", "Z- ");

flexUI.setMethodKey("hasKey", "?k ");
flexUI.setMethodKey("removeKey", "-k ");

//flexUI.setTestSuite(new SortedSetTests2());
//flexUI.setTestSuite(new SortedSetTests());
//flexUI.setTestSuite(new SortedMapTests());
//flexUI.setTestSuite(new OrderedSetRawTests2());
//flexUI.setTestSuite(new OrderedSetRawTests());
//flexUI.setTestSuite(new SetRawTests());
//flexUI.setTestSuite(new ArrayListTests());
//flexUI.setTestSuite(new OrderedMapRawTests());
//flexUI.setTestSuite(new HeapTests());
//flexUI.setTestSuite(new MapRawTests());
// flexUI.setTestSuite(new LinkedListRawTests());

// flexUI.setTestSuite(new LinkedListTests());
flexUI.setTestSuite(new JDLinkedListTests());
//flexUI.setTestSuite(new MapTests());
//flexUI.setTestSuite(new SetTests());
// flexUI.setTestSuite(new BSTTests());
//flexUI.setTestSuite(new PriorityQueueTests());
//flexUI.setTestSuite(new SortedListTests());

//flexUI.setTestSuite(new TreapTests());
//flexUI.setTestSuite(new ArraySortedTests());
//flexUI.setTestSuite(new DictionaryTests());
//flexUI.setTestSuite(new ArrayTests());

//flexUI.setTestSuite(new AS3CommonsVSAS3Tests());
//flexUI.setTestSuite(new AS3CommonsTests());

flexUI.startTests();
}
]]>
</mx:Script>

<flexui:FlexUI id="flexUI" width="100%" height="100%"/>


</mx:Application>

Change log

r26 by jens.struwe on Jul 26, 2011   Diff
[DEV] JD LinkedList Test
Go to: 
Project members, sign in to write a code review

Older revisions

r13 by jens.struwe on May 4, 2010   Diff
[DEV] More tests and examples
r12 by jens.struwe on Apr 29, 2010   Diff
[DEV] Ordered set example
r11 by jens.struwe on Apr 29, 2010   Diff
[DEV] Set example
All revisions of this file

File info

Size: 2059 bytes, 64 lines
Powered by Google Project Hosting