Class UnitTests


  • public class UnitTests
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  UnitTests.TestClass
      Class for testing serializing of objects.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.apache.log4j.Logger log  
      static MemCachedClient mc  
    • Constructor Summary

      Constructors 
      Constructor Description
      UnitTests()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      This runs through some simple tests of the MemCacheClient.
      static void runAlTests​(MemCachedClient mc)  
      static void test1()  
      static void test10()  
      static void test11()  
      static void test12()  
      static void test13()  
      static void test14()  
      static void test15()  
      static void test16()  
      static void test17()  
      static void test18()  
      static void test19()  
      static void test2()  
      static void test20​(int max, int skip, int start)  
      static void test21()  
      static void test22()  
      static void test23()  
      static void test24()  
      static void test3()  
      static void test4()  
      static void test5()  
      static void test6()  
      static void test7()  
      static void test8()  
      static void test9()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        private static org.apache.log4j.Logger log
    • Constructor Detail

      • UnitTests

        public UnitTests()
    • Method Detail

      • test1

        public static void test1()
      • test2

        public static void test2()
      • test3

        public static void test3()
      • test4

        public static void test4()
      • test5

        public static void test5()
      • test6

        public static void test6()
      • test7

        public static void test7()
      • test8

        public static void test8()
      • test9

        public static void test9()
      • test10

        public static void test10()
      • test11

        public static void test11()
      • test12

        public static void test12()
      • test13

        public static void test13()
      • test14

        public static void test14()
      • test15

        public static void test15()
      • test16

        public static void test16()
      • test17

        public static void test17()
      • test18

        public static void test18()
      • test19

        public static void test19()
      • test20

        public static void test20​(int max,
                                  int skip,
                                  int start)
      • test21

        public static void test21()
      • test22

        public static void test22()
      • test23

        public static void test23()
      • test24

        public static void test24()
      • main

        public static void main​(java.lang.String[] args)
        This runs through some simple tests of the MemCacheClient. Command line args: args[0] = number of threads to spawn args[1] = number of runs per thread args[2] = size of object to store
        Parameters:
        args - the command line arguments