test_class.declarator: testtxt
test_class.original_string: TextArea testtxt;
test_class.type: TextArea
test_class.var_name: testtxt
test_class.declarator: filename
test_class.original_string: String filename;
test_class.type: String
test_class.var_name: filename
test_class.file: TDDT/src/test/java/LoadnSaveTest.java
test_class.identifier: LoadnSaveTest
test_class.superclass: extends ApplicationTest
test_case.body: @Test
      public void test_filenotfoundsotextareawontchange(){
          testtxt.setText("abcdefg");
          testtxt.setText("123");
          filename="gibtesgarnicht";
          LoadnSave.load(filename,testtxt,false);
          assertEquals("123",testtxt.getText());
      }
test_case.class_method_signature: LoadnSaveTest.test_filenotfoundsotextareawontchange()
test_case.full_signature: @Test public void test_filenotfoundsotextareawontchange()
test_case.identifier: test_filenotfoundsotextareawontchange
test_case.invocations: setText setText load assertEquals getText
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_filenotfoundsotextareawontchange()
focal_class.file: TDDT/src/main/java/LoadnSave.java
focal_class.identifier: LoadnSave
focal_class.class_method_signature: LoadnSave.load(String FileName,TextArea txtarea,boolean isTest)
focal_class.full_signature: public static void load(String FileName,TextArea txtarea,boolean isTest)
focal_class.identifier: load
focal_class.modifiers: public static
focal_class.parameters: (String FileName,TextArea txtarea,boolean isTest)
focal_class.return: void
focal_class.signature: void load(String FileName,TextArea txtarea,boolean isTest)
focal_class.class_method_signature: LoadnSave.save(String FileName,String text,boolean isTest)
focal_class.full_signature: public static void save(String FileName,String text,boolean isTest)
focal_class.identifier: save
focal_class.modifiers: public static
focal_class.parameters: (String FileName,String text,boolean isTest)
focal_class.return: void
focal_class.signature: void save(String FileName,String text,boolean isTest)
focal_method.body: public static void load(String FileName,TextArea txtarea,boolean isTest){
              File file;
              if(isTest) file = new File("TestsNClasses/"+FileName+"Test.java");
              else file = new File("TestsNClasses/"+FileName+".java");
              BufferedReader in = null;
              //int max=0;
              try {
                  in = new BufferedReader(new FileReader(file));
                 ArrayList<String> input=new ArrayList<String>();
                  String inp=in.readLine();
                  while(inp!=null) {
                      input.add(inp+'\n');
                      inp = in.readLine();
                     // max++;
                  }
                  txtarea.clear();
  
                  for(String s:input) {
                  txtarea.appendText(s);
                  }
              } catch (Exception e) {
                  System.out.print(e);
              }
          }
focal_method.class_method_signature: LoadnSave.load(String FileName,TextArea txtarea,boolean isTest)
focal_method.full_signature: public static void load(String FileName,TextArea txtarea,boolean isTest)
focal_method.identifier: load
focal_method.invocations: readLine add readLine clear appendText print
focal_method.modifiers: public static
focal_method.parameters: (String FileName,TextArea txtarea,boolean isTest)
focal_method.return: void
focal_method.signature: void load(String FileName,TextArea txtarea,boolean isTest)