Permalink
Browse files

Version 1.1

Changes:
* Code refactor
* Now based on YUI 3 Test
* Demos
* Comments Ext-Doc style
  • Loading branch information...
1 parent 3ad57b6 commit 9257732f905952e23d43b4b100592daefe5ba08e @yhwh committed May 21, 2010
View
@@ -0,0 +1,3 @@
+Here Greetz For Contributors!!!
+
+* Niko (aka hello2008) : for YUI 3 TEST Support (May 2010)
View
Deleted file not rendered
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,127 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>Ext.test 1.1 Demo with console only</title>
+
+<!--
+ EXTJS 3.2.1
+-->
+ <link rel="stylesheet" type="text/css" href="ext-3.2.1/resources/css/ext-all.css" />
+ <link rel="stylesheet" type="text/css" href="ext-3.2.1/examples/ux/css/ColumnNodeUI.css" />
+
+ <script type="text/javascript" src="ext-3.2.1/adapter/ext/ext-base-debug-w-comments.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/ext-all-debug-w-comments.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/examples/ux/ColumnNodeUI.js"></script>
+
+<!--
+ END OF EXTJS 3.2.1
+-->
+
+<!--
+ YUI 3.1.1 TEST MINIMUM LIBRARY
+-->
+ <script type="text/javascript" src="yui_3.1.1/yui-base-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/dump-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/substitute-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/oop-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/dom-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/yui-later-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-custom-base-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-base-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/pluginhost-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/node-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-delegate-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/json-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-simulate-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/test-min.js"></script>
+<!--
+ END OF YUI TEST MINIMUM LIBRARY
+-->
+
+ <link rel="stylesheet" type="text/css" href="ext_test/default.css" />
+
+ <script type="text/javascript" src="ext_test/yuitest_hooks.js"></script>
+ <script type="text/javascript" src="ext_test/namespace.js"></script>
+ <script type="text/javascript" src="ext_test/session.js"></script>
+ <script type="text/javascript" src="ext_test/runner.js"></script>
+ <script type="text/javascript" src="ext_test/testsuite.js"></script>
+ <script type="text/javascript" src="ext_test/testcase.js"></script>
+ <script type="text/javascript" src="ext_test/view/namespace.js"></script>
+ <script type="text/javascript" src="ext_test/view/startbutton.js"></script>
+ <script type="text/javascript" src="ext_test/view/progressbar.js"></script>
+ <script type="text/javascript" src="ext_test/view/uiprovider.js"></script>
+ <script type="text/javascript" src="ext_test/view/columntree.js"></script>
+ <script type="text/javascript" src="ext_test/view/logger.js"></script>
+
+ <script type="text/javascript">
+ (function(){
+ var grid = new Ext.test.view.Logger({
+ height: 400,
+ width: 600,
+ title: document.title,
+ bbar: [{
+ xtype: 'teststartbutton'
+ }, '->', {
+ xtype: 'testprogressbar',
+ width: 500
+ }]
+ });
+ Ext.onReady(function(){
+ Ext.QuickTips.init();
+ grid.render(Ext.getBody());
+ },this);
+ })();
+ </script>
+
+<!--
+ EXTJS 3.2.1 UNIT TESTS
+-->
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Array.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Ext.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Function.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Number.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/String.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Ext/Template.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Ext/XTemplate.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/ArrayReader.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/DataField.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/GroupingStore.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/JsonReader.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/Store.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/Types.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/direct/Direct.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/BasicForm.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/Container.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/FormPanel.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/GridPanel.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/Slider.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/form/CompositeField.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/layout/BoxLayout.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/layout/ContainerLayout.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/layout/FormLayout.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/layout/HBoxLayout.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/layout/VBoxLayout.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/util/JSON.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/util/MixedCollection.js"></script>
+<!--
+ END OF EXTJS 3.2.1 UNIT TESTS
+-->
+
+<!--
+ SAMPLE UNIT TESTS
+-->
+ <script type="text/javascript" src="sample/boot_mask.js"></script>
+ <script type="text/javascript" src="sample/boot_mask_test.js"></script>
+ <script type="text/javascript" src="sample/nested_test_suites.js"></script>
+<!--
+ END OF SAMPLE UNIT TEST
+-->
+
+<!--
+ ADD YOU OWN TEST HERE
+ example :
+ <script type="text/javascript" src="my_test.js"></script>
+-->
+ </head>
+ <body></body>
+</html>
View
@@ -0,0 +1,121 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>ExtJS 3.2.1 Unit Tests Demo</title>
+
+<!--
+ EXTJS 3.2.1
+-->
+ <link rel="stylesheet" type="text/css" href="ext-3.2.1/resources/css/ext-all.css" />
+ <link rel="stylesheet" type="text/css" href="ext-3.2.1/examples/ux/css/ColumnNodeUI.css" />
+
+ <script type="text/javascript" src="ext-3.2.1/adapter/ext/ext-base-debug-w-comments.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/ext-all-debug-w-comments.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/examples/ux/ColumnNodeUI.js"></script>
+
+<!--
+ END OF EXTJS 3.2.1
+-->
+
+<!--
+ YUI 3.1.1 TEST MINIMUM LIBRARY
+-->
+ <script type="text/javascript" src="yui_3.1.1/yui-base-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/dump-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/substitute-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/oop-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/dom-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/yui-later-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-custom-base-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-base-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/pluginhost-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/node-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-delegate-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/json-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-simulate-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/test-min.js"></script>
+<!--
+ END OF YUI TEST MINIMUM LIBRARY
+-->
+
+ <link rel="stylesheet" type="text/css" href="ext_test/default.css" />
+
+ <script type="text/javascript" src="ext_test/yuitest_hooks.js"></script>
+ <script type="text/javascript" src="ext_test/namespace.js"></script>
+ <script type="text/javascript" src="ext_test/session.js"></script>
+ <script type="text/javascript" src="ext_test/runner.js"></script>
+ <script type="text/javascript" src="ext_test/testsuite.js"></script>
+ <script type="text/javascript" src="ext_test/testcase.js"></script>
+ <script type="text/javascript" src="ext_test/view/namespace.js"></script>
+ <script type="text/javascript" src="ext_test/view/startbutton.js"></script>
+ <script type="text/javascript" src="ext_test/view/progressbar.js"></script>
+ <script type="text/javascript" src="ext_test/view/uiprovider.js"></script>
+ <script type="text/javascript" src="ext_test/view/columntree.js"></script>
+ <script type="text/javascript" src="ext_test/view/logger.js"></script>
+
+ <script type="text/javascript">
+ (function(){
+ var grid = new Ext.test.view.Logger({
+ region: 'south',
+ height: 200,
+ split: true,
+ minSize: 100
+ });
+ var viewer = new Ext.test.view.ColumnTree({
+ region: 'center',
+ title: document.title,
+ height: 350,
+ tbar: [{
+ xtype: 'teststartbutton'
+ }, '->', {
+ xtype: 'testprogressbar',
+ width: 500
+ }]
+ });
+ Ext.onReady(function(){
+ Ext.QuickTips.init();
+ var testViewport = new Ext.Viewport({
+ layout : 'border',
+ items : [viewer,grid]
+ });
+ testViewport.show();
+ },this);
+ })();
+ </script>
+
+<!--
+ EXTJS 3.2.1 UNIT TESTS
+-->
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Array.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Ext.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Function.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Number.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/String.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Ext/Template.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/Ext/XTemplate.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/ArrayReader.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/DataField.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/GroupingStore.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/JsonReader.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/Store.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/data/Types.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/direct/Direct.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/BasicForm.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/Container.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/FormPanel.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/GridPanel.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/Slider.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/form/CompositeField.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/layout/BoxLayout.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/layout/ContainerLayout.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/layout/FormLayout.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/layout/HBoxLayout.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/widgets/layout/VBoxLayout.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/util/JSON.js"></script>
+ <script type="text/javascript" src="ext-3.2.1/test/unit/util/MixedCollection.js"></script>
+<!--
+ END OF EXTJS 3.2.1 UNIT TESTS
+-->
+ </head>
+ <body></body>
+</html>
@@ -1,7 +1,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Ext.Test.Session 1.0</title>
+ <title>Ext.test 1.1 Demo Full</title>
<!--
EXTJS 3.2.1
@@ -18,11 +18,22 @@
-->
<!--
- YUI TEST MINIMUM LIBRARY
+ YUI 3.1.1 TEST MINIMUM LIBRARY
-->
- <script type="text/javascript" src="ext-3.2.1/src/ext-core/test/yui_2.6.0/yui/build/yahoo-dom-event/yahoo-dom-event.js"></script>
- <script type="text/javascript" src="ext-3.2.1/src/ext-core/test/yui_2.6.0/yui/build/logger/logger-min.js"></script>
- <script type="text/javascript" src="ext-3.2.1/src/ext-core/test/yui_2.6.0/yui/build/yuitest/yuitest-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/yui-base-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/dump-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/substitute-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/oop-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/dom-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/yui-later-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-custom-base-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-base-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/pluginhost-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/node-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-delegate-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/json-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/event-simulate-min.js"></script>
+ <script type="text/javascript" src="yui_3.1.1/test-min.js"></script>
<!--
END OF YUI TEST MINIMUM LIBRARY
-->
@@ -33,23 +44,33 @@
<script type="text/javascript" src="ext_test/namespace.js"></script>
<script type="text/javascript" src="ext_test/session.js"></script>
<script type="text/javascript" src="ext_test/runner.js"></script>
- <script type="text/javascript" src="ext_test/viewer.js"></script>
- <script type="text/javascript" src="ext_test/logger.js"></script>
<script type="text/javascript" src="ext_test/testsuite.js"></script>
<script type="text/javascript" src="ext_test/testcase.js"></script>
+ <script type="text/javascript" src="ext_test/view/namespace.js"></script>
+ <script type="text/javascript" src="ext_test/view/startbutton.js"></script>
+ <script type="text/javascript" src="ext_test/view/progressbar.js"></script>
+ <script type="text/javascript" src="ext_test/view/uiprovider.js"></script>
+ <script type="text/javascript" src="ext_test/view/columntree.js"></script>
+ <script type="text/javascript" src="ext_test/view/logger.js"></script>
<script type="text/javascript">
(function(){
- var grid = new Ext.test.Logger({
+ var grid = new Ext.test.view.Logger({
region: 'south',
height: 200,
split: true,
minSize: 100
});
- var viewer = new Ext.test.Viewer({
+ var viewer = new Ext.test.view.ColumnTree({
region: 'center',
- title: 'My Test Session',
- height: 350
+ title: document.title,
+ height: 350,
+ tbar: [{
+ xtype: 'teststartbutton'
+ }, '->', {
+ xtype: 'testprogressbar',
+ width: 500
+ }]
});
Ext.onReady(function(){
Ext.QuickTips.init();
Oops, something went wrong.

0 comments on commit 9257732

Please sign in to comment.