Generating related templated files
First Claim
Patent Images
1. A method comprising:
- generating, by a system comprising a processor, based on data associated with class information including a base class registered with a document system that manages file relationships;
a source code template file corresponding to an object,a test code template file related to the source code template file based on corresponding test data associated with the base class,a document template file related to the source code template file, wherein the source code template file, the document template file, and the test code template file are distinct files;
attempting to register, in the document system, a source code file comprising an edited version of the source code template file, a test code file comprising an edited version of the test code template file, and a document file comprising an edited version of the document template file, wherein attempting to register the source code file comprises performing validation on the source code file, where the validation comprises a plurality of validation tests based on information in the test code file and at least one of the source code file or the document file;
in response to the validation passing a subset of the plurality of validation tests, registering the source code file in the document system as not validated, wherein the subset comprises at least one of the plurality of validation tests and less than all of the plurality of validation tests; and
in response to the validation passing the plurality of validation tests, registering the source code file in the document system as validated.
1 Assignment
0 Petitions
Accused Products
Abstract
The described technology is directed towards generating related templated files based on a set of data associated with to another class registered with a document system. These files may be edited into a source code file, a document file and a test file for any derived class. At runtime, which may include the runtime execution of the object based upon the test file, an object based upon the source code file is instantiated. Part of the object (e.g., a function) may be validated during the runtime based upon validation information in the document file.
16 Citations
19 Claims
-
1. A method comprising:
-
generating, by a system comprising a processor, based on data associated with class information including a base class registered with a document system that manages file relationships; a source code template file corresponding to an object, a test code template file related to the source code template file based on corresponding test data associated with the base class, a document template file related to the source code template file, wherein the source code template file, the document template file, and the test code template file are distinct files; attempting to register, in the document system, a source code file comprising an edited version of the source code template file, a test code file comprising an edited version of the test code template file, and a document file comprising an edited version of the document template file, wherein attempting to register the source code file comprises performing validation on the source code file, where the validation comprises a plurality of validation tests based on information in the test code file and at least one of the source code file or the document file; in response to the validation passing a subset of the plurality of validation tests, registering the source code file in the document system as not validated, wherein the subset comprises at least one of the plurality of validation tests and less than all of the plurality of validation tests; and in response to the validation passing the plurality of validation tests, registering the source code file in the document system as validated. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A non-transitory computer-readable medium having instructions stored thereon that, in response to execution, cause a system including a processor to perform operations comprising:
-
generating a source code template file, a document template file, and a test template file based on a set of data associated with a class registered with a document system that manages file relationships, wherein the source code template file, the document template file, and the test template file are distinct files; attempting to register, in the document system; a source code file comprising an edited version of the source code template file, a document file comprising an edited version of the document template file; and a test file comprising an edited version of the test template file; wherein attempting to register the source code file comprises performing validation on the source code file, wherein the validation comprises a plurality of validation tests based on information in the test file and at least one of the source code file or the document file; in response to the validation passing a subset of the plurality of validation tests, registering the source code file, in the document system as not validated, wherein the subset comprises at least one of the plurality of validation tests and less than all of the plurality of validation tests; and in response to the validation passing the plurality of validation tests, registering the source code file in the document system as validated. - View Dependent Claims (13, 14)
-
-
15. A system comprising:
-
a processor; and a memory that stores executable instructions, which, when executed by the processor, facilitate performance of operations, comprising; generating a source code template file, a document template file, and a test template file based on a set of data associated with a class registered with a document system that manages file relationships, wherein the source code template file, the document template file, and the test template file are distinct files; attempting to register, in the document system; a source code file comprising an edited version of the source code template file, a document file comprising an edited version of the document template file; and a test file comprising an edited version of the test template file; wherein attempting to register the source code file comprises performing validation on the source code file, where the validation comprises a plurality of validation tests based on information in the test file and at least one of the source code file or the document file; in response to the validation passing a subset of the plurality of validation tests associated with the source code file, registering the source code file in the document system as not validated, wherein the subset comprises at least one of the plurality of validation tests and less than all of the plurality of validation tests; and in response to the validation passing the plurality of validation tests, registering the source code file in the document system as validated. - View Dependent Claims (16, 17, 18, 19)
-
Specification