Skip to content

Commit

Permalink
refactor: Move fixtures to tests/Fixture (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark authored Oct 3, 2024
1 parent efdc42a commit ee2a319
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace PhpLlm\LlmChain\Tests\ToolBox\Tool;
namespace PhpLlm\LlmChain\Tests\Fixture\Tool;

use PhpLlm\LlmChain\ToolBox\Attribute\AsTool;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace PhpLlm\LlmChain\Tests\ToolBox\Tool;
namespace PhpLlm\LlmChain\Tests\Fixture\Tool;

use PhpLlm\LlmChain\ToolBox\Attribute\AsTool;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace PhpLlm\LlmChain\Tests\ToolBox\Tool;
namespace PhpLlm\LlmChain\Tests\Fixture\Tool;

use PhpLlm\LlmChain\ToolBox\Attribute\AsTool;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace PhpLlm\LlmChain\Tests\ToolBox\Tool;
namespace PhpLlm\LlmChain\Tests\Fixture\Tool;

use PhpLlm\LlmChain\ToolBox\Attribute\AsTool;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace PhpLlm\LlmChain\Tests\ToolBox\Tool;
namespace PhpLlm\LlmChain\Tests\Fixture\Tool;

use PhpLlm\LlmChain\ToolBox\Attribute\AsTool;
use PhpLlm\LlmChain\ToolBox\Attribute\ToolParameter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace PhpLlm\LlmChain\Tests\ToolBox\Tool;
namespace PhpLlm\LlmChain\Tests\Fixture\Tool;

final class ToolWrong
{
Expand Down
8 changes: 4 additions & 4 deletions tests/ToolBox/ParameterAnalyzerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

namespace PhpLlm\LlmChain\Tests\ToolBox;

use PhpLlm\LlmChain\Tests\ToolBox\Tool\ToolNoParams;
use PhpLlm\LlmChain\Tests\ToolBox\Tool\ToolOptionalParam;
use PhpLlm\LlmChain\Tests\ToolBox\Tool\ToolRequiredParams;
use PhpLlm\LlmChain\Tests\ToolBox\Tool\ToolWithToolParameterAttribute;
use PhpLlm\LlmChain\Tests\Fixture\Tool\ToolNoParams;
use PhpLlm\LlmChain\Tests\Fixture\Tool\ToolOptionalParam;
use PhpLlm\LlmChain\Tests\Fixture\Tool\ToolRequiredParams;
use PhpLlm\LlmChain\Tests\Fixture\Tool\ToolWithToolParameterAttribute;
use PhpLlm\LlmChain\ToolBox\Attribute\AsTool;
use PhpLlm\LlmChain\ToolBox\Metadata;
use PhpLlm\LlmChain\ToolBox\ParameterAnalyzer;
Expand Down
6 changes: 3 additions & 3 deletions tests/ToolBox/ToolAnalyzerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
namespace PhpLlm\LlmChain\Tests\ToolBox;

use PhpLlm\LlmChain\Exception\InvalidToolImplementation;
use PhpLlm\LlmChain\Tests\ToolBox\Tool\ToolMultiple;
use PhpLlm\LlmChain\Tests\ToolBox\Tool\ToolRequiredParams;
use PhpLlm\LlmChain\Tests\ToolBox\Tool\ToolWrong;
use PhpLlm\LlmChain\Tests\Fixture\Tool\ToolMultiple;
use PhpLlm\LlmChain\Tests\Fixture\Tool\ToolRequiredParams;
use PhpLlm\LlmChain\Tests\Fixture\Tool\ToolWrong;
use PhpLlm\LlmChain\ToolBox\Attribute\AsTool;
use PhpLlm\LlmChain\ToolBox\Metadata;
use PhpLlm\LlmChain\ToolBox\ParameterAnalyzer;
Expand Down
6 changes: 3 additions & 3 deletions tests/ToolBox/ToolBoxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
namespace PhpLlm\LlmChain\Tests\ToolBox;

use PhpLlm\LlmChain\Response\ToolCall;
use PhpLlm\LlmChain\Tests\ToolBox\Tool\ToolNoParams;
use PhpLlm\LlmChain\Tests\ToolBox\Tool\ToolOptionalParam;
use PhpLlm\LlmChain\Tests\ToolBox\Tool\ToolRequiredParams;
use PhpLlm\LlmChain\Tests\Fixture\Tool\ToolNoParams;
use PhpLlm\LlmChain\Tests\Fixture\Tool\ToolOptionalParam;
use PhpLlm\LlmChain\Tests\Fixture\Tool\ToolRequiredParams;
use PhpLlm\LlmChain\ToolBox\Attribute\AsTool;
use PhpLlm\LlmChain\ToolBox\Metadata;
use PhpLlm\LlmChain\ToolBox\ParameterAnalyzer;
Expand Down

0 comments on commit ee2a319

Please sign in to comment.