summaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding a to_graph method to TransBuckets, so that the buckets can directly ↵Luke Kanies2007-09-123-0/+549
| | | | generate a graph, rather than having to first convert to RAL types and then have them convert to a graph. This allows us to make it so components do not need a @children array at all. This was all done because I am having the "already a parent of" problem again, and I have gotten far enough that it is relatively easy to just make this problem go away once and for all.
* Another intermediate commit. The node and fact classes are now functional ↵Luke Kanies2007-09-1214-161/+544
| | | | and are used instead of the network handlers, which have been removed. There are some failing tests as a result, but I want to get this code committed before I massage the rest of the system to make it work again.
* Adding setup/teardown hooks to rspec, so we can use test/unit methodsLuke Kanies2007-09-111-0/+7
|
* The Node handler is now obsolete. Node searching is handled through the ↵Luke Kanies2007-09-111-0/+79
| | | | indirector. I have not yet added the tests for the node handlers themselves, which is next.
* Doing an intermediate commit so rick can look at the work I have done so far.Luke Kanies2007-09-114-0/+282
|
* Fixing #807. The exception handling should more closely resemble how it ↵Luke Kanies2007-09-062-4/+16
| | | | used to be done.
* Flipped the switch so that compiles now return a Configuration instance ↵Luke Kanies2007-09-041-8/+12
| | | | instead of pre-extracting the configuration.
* We now have a real configuration object, as a subclass of GRATR::Digraph, ↵Luke Kanies2007-09-041-0/+125
| | | | that has a resource graph including resources for the container objects like classes and nodes. It is apparently functional, but I have not gone through all of the other tests to fix them yet. That is next.
* Doing a small amount of refactoring, toward being able to use Parser ↵Luke Kanies2007-09-032-0/+105
| | | | resources to evaluate classes and nodes, not just definitions. This will hopefully simplify some of the parsing work, and it will enable the use of a Configuration object that more completely models a configuration.
* Deleting old documentation that somehow made it back into the tree in the ↵Luke Kanies2007-09-011-0/+48
| | | | switch to git, and refactoring the evaluate_classes method on the compile object so I can use resources as intermediaries, thus making classes do late-binding evaluation.
* Making a couple of small bugfixes in the configuration subsystemLuke Kanies2007-08-271-0/+13
|
* Multiple environment support now works, and I have even tested it in real ↵Luke Kanies2007-08-262-25/+59
| | | | life. This commit is mostly a bug-fix commit, resulting from the difference between real-life testing and unit testing.
* Adding a bit of testing for node names.Luke Kanies2007-08-261-0/+5
|
* Moving the node tests to rspec, and cleaning up the spec of the node, ↵Luke Kanies2007-08-261-68/+89
| | | | especially WRT the environment.
* Moving the node tests to rspec, and cleaning up the spec of the node, ↵Luke Kanies2007-08-261-0/+75
| | | | especially WRT the environment.
* And we have multiple environment support in the parser. The only remaining ↵Luke Kanies2007-08-251-1/+7
| | | | piece to make this complete is to add multiple environment support to the fileserver. I also renamed Configuration.rb to Compile.rb (that is, I fixed all the classes that used to know it as a configuration).
* Removing this test for now; I do not have time to port it from test/unit to ↵Luke Kanies2007-08-251-755/+0
| | | | rspec
* Renaming the "configuration" object to "compile", because it is only a ↵Luke Kanies2007-08-251-0/+755
| | | | transitional object and I want the real "configuration" object to be the thing that I pass from the server to the client; it will be a subclass of GRATR::Digraph.
* Oops, created a test directory in the main spec dir, rather than in the ↵Luke Kanies2007-08-251-0/+0
| | | | unit/ subdir
* Modules are now tested with spec, and they now can handle ↵Luke Kanies2007-08-251-0/+150
| | | | environment-specific module paths.
* The config class now has support for add an environment to its search path. ↵Luke Kanies2007-08-241-24/+78
| | | | Now I just need to go through the whole system and use the search path in addition to the parameter name itself.
* I have added basic support for a search path, altho not yet with any ability ↵Luke Kanies2007-08-241-20/+100
| | | | to manipulate it. All config tests pass in both the old tests and the new ones, so it is time to add the hooks for manipulating the search path.
* Adding some rspec tests for Config.rb, because I am planning on ↵Luke Kanies2007-08-232-1/+250
| | | | significantly changing its internals and the current tests, I think, will be harder to migrate than just writing rspec tests from scratch.
* Everything up to the parser (and the Modules) is ready to support multiple ↵Luke Kanies2007-08-232-0/+81
| | | | environments, including the parser having an environment setting. I have also created my first spec-based tests, for the interpreter (and deleted the old test/unit tests).
* Oops, left out the spec rake file from the main spec commitLuke Kanies2007-08-231-0/+1
|
* Building a stand-alone spec directory for creating the new spec-based tests.Luke Kanies2007-08-2386-0/+6161