Package org.evolizer.versioncontrol.cvs.model.entities

Examples of org.evolizer.versioncontrol.cvs.model.entities.VersionedFile


     * Tests a specific file revision contents
     * @throws IOException If some problems arise while fetching the file contents to use in the test
     */
    @Test
    public void testFileContents() throws IOException {
        VersionedFile vf = sSession.uniqueResult("from VersionedFile where path = 'test_package/Sum.java'", VersionedFile.class);
        for (Revision r : vf.getRevisions()) {
            if (r.getNumber().compareTo("614e3cc9b980a6fc317c1816867f2fa3dbf84aad") == 0) {
               
                BufferedReader in = new BufferedReader(new InputStreamReader(EvolizerGITPlugin.openFile("./Sum.java")));
                String res = "";
                String i = in.readLine();
View Full Code Here

TOP

Related Classes of org.evolizer.versioncontrol.cvs.model.entities.VersionedFile

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.