Package edu.umd.cs.findbugs

Examples of edu.umd.cs.findbugs.RunnableWithExceptions


    private static Subtypes2 getSubtypes2() {
        return Global.getAnalysisCache().getDatabase(Subtypes2.class);
    }

    public void testStringSubtypeOfObject() throws Throwable {
        executeFindBugsTest(new RunnableWithExceptions() {
            /*
             * (non-Javadoc)
             *
             * @see edu.umd.cs.findbugs.RunnableWithExceptions#run()
             */
 
View Full Code Here


            }
        });
    }

    public void testStringSubtypeOfSerializable() throws Throwable {
        executeFindBugsTest(new RunnableWithExceptions() {
            /*
             * (non-Javadoc)
             *
             * @see edu.umd.cs.findbugs.RunnableWithExceptions#run()
             */
 
View Full Code Here

            }
        });
    }

    public void testIdentitySubtype() throws Throwable {
        executeFindBugsTest(new RunnableWithExceptions() {
            /*
             * (non-Javadoc)
             *
             * @see edu.umd.cs.findbugs.RunnableWithExceptions#run()
             */
 
View Full Code Here

            }
        });
    }

    public void testInterfaceIsSubtypeOfObject() throws Throwable {
        executeFindBugsTest(new RunnableWithExceptions() {
            @Override
            public void run() throws ClassNotFoundException {
                Subtypes2 test = getSubtypes2();

                assertTrue(test.isSubtype(typeClonable, typeObject));
View Full Code Here

            }
        });
    }

    public void testArrays() throws Throwable {
        executeFindBugsTest(new RunnableWithExceptions() {
            /*
             * (non-Javadoc)
             *
             * @see edu.umd.cs.findbugs.RunnableWithExceptions#run()
             */
 
View Full Code Here

            }
        });
    }

    public void testUnrelatedTypes() throws Throwable {
        executeFindBugsTest(new RunnableWithExceptions() {
            /*
             * (non-Javadoc)
             *
             * @see edu.umd.cs.findbugs.RunnableWithExceptions#run()
             */
 
View Full Code Here

            }
        });
    }

    public void testArraysWrongDimension() throws Throwable {
        executeFindBugsTest(new RunnableWithExceptions() {
            /*
             * (non-Javadoc)
             *
             * @see edu.umd.cs.findbugs.RunnableWithExceptions#run()
             */
 
View Full Code Here

            }
        });
    }

    public void testMultidimensionalArrayIsSubtypeOfObjectArray() throws Throwable {
        executeFindBugsTest(new RunnableWithExceptions() {
            /*
             * (non-Javadoc)
             *
             * @see edu.umd.cs.findbugs.RunnableWithExceptions#run()
             */
 
View Full Code Here

            }
        });
    }

    public void testArrayOfPrimitiveIsSubtypeOfObject() throws Throwable {
        executeFindBugsTest(new RunnableWithExceptions() {
            /*
             * (non-Javadoc)
             *
             * @see edu.umd.cs.findbugs.RunnableWithExceptions#run()
             */
 
View Full Code Here

            }
        });
    }

    public void testSpecialStringSubclasses() throws Exception {
        executeFindBugsTest(new RunnableWithExceptions() {
            /*
             * (non-Javadoc)
             *
             * @see edu.umd.cs.findbugs.RunnableWithExceptions#run()
             */
 
View Full Code Here

TOP

Related Classes of edu.umd.cs.findbugs.RunnableWithExceptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.