Ejemplo n.º 1
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("Security Tests");

        suite.AddTests(typeof(TestSecurityExceptions));
        suite.AddTests(typeof(TestSecurityElement));
        return(suite);
    }
Ejemplo n.º 2
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("Collection Tests");

        suite.AddTests(typeof(TestArrayList));
        suite.AddTests(typeof(TestHashTable));
        return(suite);
    }
Ejemplo n.º 3
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("Serialization Tests");

        suite.AddTests(typeof(TestSerializationException));
        suite.AddTests(typeof(TestObjectIDGenerator));
        suite.AddTests(typeof(TestObjectManager));
        return(suite);
    }
Ejemplo n.º 4
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("InteropServices Tests");

        suite.AddTests(typeof(TestInteropServices));
        suite.AddTests(typeof(TestGCHandle));
        suite.AddTests(typeof(TestMarshal));
        return(suite);
    }
Ejemplo n.º 5
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("Globalization Tests");

        suite.AddTests(typeof(TestGregorianCalendar));
        suite.AddTests(typeof(TestHebrewCalendar));
        //suite.AddTests(typeof(TestJulianCalendar)); -- TODO
        suite.AddTests(typeof(TestCompareInfo));
        return(suite);
    }
Ejemplo n.º 6
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("Text Tests");

        suite.AddTests(typeof(TestStringBuilder));
        return(suite);
    }
Ejemplo n.º 7
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("CompilerServices Tests");

        suite.AddTests(typeof(TestCompilerServices));
        return(suite);
    }
Ejemplo n.º 8
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("I/O Tests");

        suite.AddTests(typeof(TestPath));
        return(suite);
    }
Ejemplo n.º 9
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("System.Reflection tests");

                        #if !ECMA_COMPAT
        suite.AddTests(typeof(TestInvoke));
                        #endif
        return(suite);
    }
Ejemplo n.º 10
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("Reflection.Emit tests");

                        #if !ECMA_COMPAT
        suite.AddTests(typeof(TestEmit));
                        #endif
        return(suite);
    }
Ejemplo n.º 11
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("Diagnostics Tests");

#if CONFIG_FRAMEWORK_2_0 && CONFIG_EXTENDED_DIAGNOSTICS
        suite.AddTests(typeof(TestStopwatch));
#endif // CONFIG_FRAMEWORK_2_0 && CONFIG_EXTENDED_DIAGNOSTICS
        return(suite);
    }
Ejemplo n.º 12
0
    public static TestSuite Suite()
    {
        TestSuite fullSuite, suite;

        fullSuite = new TestSuite("System Assembly Tests");

        suite = new TestSuite("Uri Tests");
        suite.AddTests(typeof(TestUri));
        fullSuite.AddTest(suite);

        suite = new TestSuite("Network Tests");
        suite.AddTests(typeof(TestIPAddress));
        suite.AddTests(typeof(TestWebHeaderCollection));
        suite.AddTest(SuiteDiagnostics.Suite());
        fullSuite.AddTest(suite);

        return(fullSuite);
    }
Ejemplo n.º 13
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("Cryptography Tests");

                        #if CONFIG_CRYPTO
        suite.AddTests(typeof(TestAES));
        suite.AddTests(typeof(TestDES));
        suite.AddTests(typeof(TestRC2));
        suite.AddTests(typeof(TestTripleDES));
        suite.AddTests(typeof(TestMD5));
        suite.AddTests(typeof(TestSHA1));
        suite.AddTests(typeof(TestSHA256));
        suite.AddTests(typeof(TestSHA384));
        suite.AddTests(typeof(TestSHA512));
        suite.AddTests(typeof(TestRNG));
                        #endif
        return(suite);
    }
Ejemplo n.º 14
0
    public static TestSuite Suite()
    {
        TestSuite fullSuite, suite;

        fullSuite = new TestSuite("Basic Tests");

#if CONFIG_EXTENDED_NUMERICS
        suite = new TestSuite("String Tests");
        suite.AddTests(typeof(TestString));
        fullSuite.AddTest(suite);
#endif
        return(fullSuite);
    }
Ejemplo n.º 15
0
    public static TestSuite Suite()
    {
        TestSuite fullSuite, suite;

        fullSuite = new TestSuite("JScript Tests");

#if CONFIG_EXTENDED_NUMERICS && CONFIG_REFLECTION
        suite = new TestSuite("Parser Tests");
        suite.AddTests(typeof(TestScanner));
        suite.AddTests(typeof(TestParser));
        fullSuite.AddTest(suite);

        suite = new TestSuite("Engine Tests");
        suite.AddTests(typeof(TestEngine));
        fullSuite.AddTest(suite);

        suite = new TestSuite("Global Tests");
        suite.AddTests(typeof(TestGlobal));
        fullSuite.AddTest(suite);
#endif
        return(fullSuite);
    }
Ejemplo n.º 16
0
	public static TestSuite Suite()
			{
				TestSuite fullSuite, suite;
				fullSuite = new TestSuite("System.Xml Tests");

				suite = new TestSuite("General Tests");
				suite.AddTests(typeof(TestNameTable));
				suite.AddTests(typeof(TestXmlConvert));
				suite.AddTests(typeof(TestXmlException));
				suite.AddTests(typeof(TestXmlNamespaceManager));
				suite.AddTests(typeof(TestXmlParserContext));
				fullSuite.AddTest(suite);

				suite = new TestSuite("Writer Tests");
				suite.AddTests(typeof(TestXmlTextWriter));
				fullSuite.AddTest(suite);

				suite = new TestSuite("Reader Tests");
				suite.AddTests(typeof(TestXmlTextReader));
				fullSuite.AddTest(suite);

			#if !ECMA_COMPAT
				suite = new TestSuite("Node Tests");
				suite.AddTests(typeof(TestXmlAttribute));
				suite.AddTests(typeof(TestXmlCDataSection));
				suite.AddTests(typeof(TestXmlComment));
				suite.AddTests(typeof(TestXmlDocument));
				suite.AddTests(typeof(TestXmlDocumentFragment));
				suite.AddTests(typeof(TestXmlDocumentType));
				suite.AddTests(typeof(TestXmlElement));
				suite.AddTests(typeof(TestXmlSignificantWhitespace));
				suite.AddTests(typeof(TestXmlText));
				suite.AddTests(typeof(TestXmlWhitespace));
				fullSuite.AddTest(suite);
			#endif

				return fullSuite;
			}
Ejemplo n.º 17
0
    public static TestSuite Suite()
    {
        TestSuite fullSuite, suite;

        fullSuite = new TestSuite("System.Windows.Forms Assembly Tests");

        suite = new TestSuite("CheckedListBox tests");
        suite.AddTests(typeof(TestCheckedListBox));
        fullSuite.AddTest(suite);

        suite = new TestSuite("StatusBar tests");
        suite.AddTests(typeof(TestStatusBar));
        fullSuite.AddTest(suite);

        return(fullSuite);
    }
Ejemplo n.º 18
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("Threading Tests");

        #if !ECMA_COMPAT
        suite.AddTests(typeof(TestWaitHandle));
        suite.AddTests(typeof(TestManualResetEvent));
        suite.AddTests(typeof(TestAutoResetEvent));
        suite.AddTests(typeof(TestTimer));
        suite.AddTests(typeof(TestMutex));
        #endif

        suite.AddTests(typeof(TestThread));
        suite.AddTests(typeof(TestMonitor));

        return(suite);
    }
Ejemplo n.º 19
0
    public static TestSuite Suite()
    {
        TestSuite suite = new TestSuite("Core Class Tests");

#if CONFIG_FRAMEWORK_2_0
        suite.AddTests(typeof(TestActivationArguments));
        suite.AddTests(typeof(TestActivationContext));
#endif
        suite.AddTests(typeof(TestAppDomain));
#if CONFIG_FRAMEWORK_2_0
        suite.AddTests(typeof(TestApplicationId));
        suite.AddTests(typeof(TestApplicationIdentity));
#endif
        suite.AddTests(typeof(TestArgIterator));
        suite.AddTests(typeof(TestArray));
        suite.AddTests(typeof(TestAttribute));
        suite.AddTests(typeof(TestBoolean));
        suite.AddTests(typeof(TestChar));
        suite.AddTests(typeof(TestConvert));
        suite.AddTests(typeof(TestDecimal));
        suite.AddTests(typeof(TestDelegate));
        suite.AddTests(typeof(TestDouble));
        suite.AddTests(typeof(TestMath));
        suite.AddTests(typeof(TestSByte));
        suite.AddTests(typeof(TestSingle));
        suite.AddTests(typeof(TestString));
                        #if !ECMA_COMPAT
        suite.AddTests(typeof(TestGuid));
                        #endif
        suite.AddTests(typeof(TestSystemExceptions));
        suite.AddTests(typeof(TestVersion));
        return(suite);
    }